From f46c31f2fbe80ad210b81b8540df80aaa7a2319d Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 10 Oct 2014 00:08:02 +0200 Subject: [PATCH] tests: Exit test when main window is closed --- tests/animated-revealing.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/animated-revealing.c b/tests/animated-revealing.c index 2040824b08..8b4ca877c6 100644 --- a/tests/animated-revealing.c +++ b/tests/animated-revealing.c @@ -38,6 +38,7 @@ main(int argc, char **argv) } window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + g_signal_connect (window, "destroy", gtk_main_quit, NULL); frame_stats_ensure (GTK_WINDOW (window)); revealer = gtk_revealer_new (); -- 2.30.2